<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">用户名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" class="form-control" data-rule="required" name="row[user][nickname]" type="text" value="{$row.user.nickname|htmlentities}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">申请类型:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_type_name" class="form-control" data-rule="required" name="row[goods_type_name]" type="text" value="{$row.goods_type_name|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_name" class="form-control" data-rule="required" name="row[goods_name]" type="text" value="{$row.goods_name|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">商品价格:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" data-rule="required" name="row[price]" type="text" value="{$row.price|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">申请时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createtime" class="form-control" data-rule="required" name="row[createtime]" type="text" value="{$row.createtime|htmlentities}" disabled>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否通过:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[pay_status]', ['1'=>__('Yes'), '0'=>__('No')],$row.pay_status)}
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>